package org.helsoft.mojo.api;

import java.io.File;
import java.io.FileFilter;

public class NameFilter implements FileFilter {

	private final String name;
	
	public NameFilter(String aName) {
		name = aName;
	}
	
	@Override
	public boolean accept(File file) {
		return file.equals(name);
	}

}
